import request from 'UTIL/request';

/**
 * 待办消息数
 * @param {*} data
 */
export function oaMessageNumAPI(data) {
  return request({
    url: 'OaBackLog/num',
    method: 'POST',
    data: data,
    hideLoading: true
  });
}

/**
 * 根据天查询日程
 */
export function QueryEventByDay(data) {
  return request({
    url: 'OaRecord/queryEventByDay',
    method: 'POST',
    data: data,
    hideLoading: true
  });
}

/**
 * 根据月查询被标记的日程
 * @param data
 */
export function QueryEventRemark(data) {
  return request({
    url: 'OaRecord/queryEvent',
    method: 'POST',
    data: data
  });
}
